import { Request } from 'express';

export interface IPermission {
  id: number;
  permissionName: string;
  pid: number;
};

export interface IGetPermissionByIdReq extends Request<{ id: IPermission['id'] }> { }
export interface IGetPermissionByIdsReq extends Request<{ ids: IPermission['id'][] }> { }
export interface IAddPermissionReq extends Request { }
export interface IDeletePermissionReq extends Request<{ id: IPermission['id'] }> { }